#pragma once
#include<sys/ipc.h>
#include<sys/types.h>
#include<string>

std::string ProjectPath="./shm";//项目路径
int ProjectId=12;//项目id

mode_t shm_mode=0600;

key_t shm_key=ftok(ProjectPath.c_str(),ProjectId);//构建共享内存key;

int ShmSize=4096;//共享内存大小